package com.itcat.service;/*
 * @Author: gonhsl
 * @Date:2022-04-04-13:24
 * */

import com.itcat.mysql.pojo.SmsFlashPromotionProductRelation;
import com.itcat.mysql.vo.SmsFlashPromotionProductRelationVo;

import java.util.List;

public interface SmsFlashPromotionProductRelationService {
    List<SmsFlashPromotionProductRelationVo> list(Integer pageNum, Integer pageSize, Integer flashPromotionId, Integer flashPromotionSessionId);

    void create(List<SmsFlashPromotionProductRelation> relationList);

    void delete(Integer id);

    void update(Integer id, SmsFlashPromotionProductRelation relation);

    SmsFlashPromotionProductRelation findOne(Integer id);
}
